﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace answer4
{
    class Solution
    {
        public static void Main(string[] args)
        {
            Console.WriteLine("请输入一个正整数：");
            int n = int.Parse(Console.ReadLine());
            string res = "";
            for (int i = 2; i <= n; i++)
            {
                while (n % i == 0)
                {
                    res += i.ToString();
                    n /= i;
                }
            }
            if (n != 1) res += n.ToString();
            Console.WriteLine(string.Join("*", res.ToCharArray()));
        }
    }
}
